<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.jd.ty.pojo" >
	<class name="CustomerAppreciationLog" table="CUSTOMER_APPRE_LOG" schema="TYMS">
		<id name="logId" type="java.lang.Long">
			<column name="LOG_ID" precision="10" scale="0" />
			<generator class="identity">
			</generator>
		</id>
		<many-to-one name="customerCompany" class="CustomerCompany" fetch="select">
			<column name="CUSTOMER_COMPANY_ID" precision="10" scale="0"
				not-null="true" />
		</many-to-one>
		<property name="appreYear" type="string">
			<column name="APRE_YEAR" />
		</property>
		<property name="appreComments" type="string">
			<column name="APRE_COMMENTS" length="500" />
		</property>
	</class>
</hibernate-mapping>